"""
    和谐用语
"""
import re

line = "wqnmlgdsb,你这个dsb,你怎么这么的sb"
line_match = ["wqnmlgdsb","dsb","sb","djb",]

for pattern in line_match:
    line = re.sub(pattern,"***",line)

print(line)

